import { Component, OnDestroy, OnInit, ViewChild } from "@angular/core";


@Component({
    selector: 'passport-login',
    templateUrl: './login.component.html',
    styleUrls: ['./login.component.less'],
  })
  export class UserLoginComponent implements OnInit, OnDestroy {
  
    isPasswordType = true;
    // vcode = null;
    account : string;
    password :string
    copyright = '';
    constructor() {
      this.account = '';
      this.password = ''
    }
  
    ngOnInit(): void {
      this.initAccountSF();
      this.initCaptchaSF();
    }
  
    initAccountSF(): void {

    }
  
    initCaptchaSF(): void {
    }
  
    /**
     * 获取验证码
     */
    getCaptcha(): void {
    }
  
    /**
     * 登录
     */
    submit(): void {
    }
  
    switch(ret: any) {
      // this.type = ret.index;
    }
  
    ngOnDestroy(): void {}
  
    changeInputType(a: any) {
      console.log(a);
    }
  
    private createInterval() {
    }
  }